home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / themes / New Wave Dark Menus / gtk-2.0 / gtkrc < prev   
Encoding:
Text File  |  2009-03-23  |  8.4 KB  |  354 lines

  1. #
  2. #================================================
  3. #     New Wave Dark Menus Pixmap Theme
  4. #================================================
  5. #
  6. # Based on: Ubuntu Human-Clearlooks
  7. #
  8. # Author:
  9. # Anton Kerezov <ankere@gmail.com>
  10. #
  11. # Feel free to modify and share!
  12. # Licensed under Creative Commons 3.0
  13. #
  14. # Major Version: 0.8
  15.  
  16. #=========================================================
  17. # Include the normal New Wave file 
  18.  
  19. include "default-gtkrc"
  20.  
  21. #=========================================================
  22. # Modify only the menus so that they become dark     |
  23. #=========================================================
  24. #
  25. #=========================================================
  26. # Menu system                         |
  27. #=========================================================
  28.  
  29. style "newwave-menubar-dark" = "newwave-menubar"
  30. {    
  31.  
  32.     engine "pixmap"
  33.     {
  34.           image
  35.            {
  36.                function    = BOX
  37.                   recolorable    = TRUE
  38.             state         = PRELIGHT
  39.                  file        = "Images/MenuMenubar/mb-item-dark.png"
  40.                   border        = { 2, 2, 4, 2 }
  41.                   stretch        = TRUE
  42.             }
  43.      }
  44. }
  45.  
  46. style "newwave-dark-menu"
  47. {
  48.     xthickness = 1
  49.         ythickness = 3 
  50.         
  51.     bg[NORMAL] = "#ffffff"
  52.         base[NORMAL] = "#ffffff"
  53.  
  54.     #Dark scheme
  55.     fg[NORMAL] = @bg_color
  56.     fg[PRELIGHT] = @fg_color
  57.     fg[ACTIVE] = lighter(@bg_color)
  58.     fg[SELECTED] = lighter(@bg_color)
  59.     fg[INSENSITIVE] = darker("#7a7878")
  60.     
  61.     bg[NORMAL] = "#7a7878"
  62.     bg[PRELIGHT] = "#7a7878"
  63.     bg[ACTIVE] = "#7a7878"
  64.     bg[SELECTED] =  darker("#7a7878")
  65.     
  66.       engine "pixmap"
  67.       {
  68.         image
  69.         {
  70.                 function    = BOX
  71.                 recolorable     = TRUE
  72.                 detail        = "menu"
  73.                 shadow          = OUT
  74.                 file        = "Images/MenuMenubar/menu.png"
  75.                 border        = { 1, 1, 2, 1 }
  76.                 stretch        = TRUE
  77.            }
  78.       }
  79. }
  80.  
  81. style "newwave-dark-menu-item"
  82. {
  83.     xthickness = 0
  84.         ythickness = 3
  85.         
  86.     #Dark scheme
  87.         fg[NORMAL] = "#ffffff"
  88.     fg[PRELIGHT] = @fg_color
  89.     fg[INSENSITIVE] = darker("#696969")
  90.     
  91.     bg[NORMAL] = "#696969"
  92.     bg[ACTIVE] =  shade(1.05,"#696969")
  93.     bg[SELECTED] = shade(1.05,"#696969")
  94.     bg[INSENSITIVE] = "#696969"
  95.  
  96.         
  97.         engine "pixmap"
  98.       {
  99.         image
  100.         {
  101.           function            = BOX
  102.           recolorable        = TRUE
  103.           file            = "Images/MenuMenubar/menuitem-dark.png"
  104.           border            = { 4, 4, 4, 4 }
  105.           stretch            = TRUE
  106.         }
  107.         image
  108.         {
  109.           function            = ARROW
  110.           recolorable        = TRUE
  111.           state            = NORMAL
  112.           overlay_file        = "Images/Arrows/arrow-right.png"
  113.           overlay_stretch        = FALSE
  114.           arrow_direction        = RIGHT
  115.         }
  116.         image
  117.         {
  118.           function            = ARROW
  119.           recolorable        = TRUE
  120.           state            = PRELIGHT
  121.           overlay_file        = "Images/Arrows/arrow-right-prelight.png"
  122.           overlay_stretch        = FALSE
  123.           arrow_direction        = RIGHT
  124.         }
  125.         image
  126.         {
  127.           function            = ARROW
  128.           recolorable        = TRUE
  129.           state            = INSENSITIVE
  130.           overlay_file        = "Images/Arrows/arrow-right-insens.png"
  131.           overlay_stretch        = FALSE
  132.           arrow_direction        = RIGHT
  133.       }
  134.       }
  135. }
  136.  
  137. style "newwave-dark-tearoff-menu-item"    = "newwave-dark-menu-item"
  138. {
  139.   engine "pixmap"
  140.   {
  141.     image
  142.     {
  143.       function                = ARROW
  144.       file                = "Images/Arrows/arrow-left.png"
  145.       stretch                = TRUE
  146.       arrow_direction            = LEFT
  147.     }
  148.   }
  149. }
  150.  
  151. #=========================================================
  152. # Main Menu
  153. #=========================================================
  154.  
  155.  
  156. # This had to make the main menu with white bg (not working yet but will in Ibex)
  157. style "newwave-dark-panelmenu-item"
  158. {
  159.         base[NORMAL] = "#ffffff"
  160.         
  161.         fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color)
  162.     fg[PRELIGHT] = @fg_color
  163.     fg[INSENSITIVE] = darker("#696969")
  164.     
  165.     bg[NORMAL] = "#696969"
  166.     bg[ACTIVE] =  shade(1.05,"#696969")
  167.     bg[SELECTED] = shade(1.05,"#696969")
  168.     bg[INSENSITIVE] = "#696969"
  169.         
  170.         text[NORMAL]        = @text_color
  171.     text[PRELIGHT]      = @text_color
  172.     text[ACTIVE]        = @text_color
  173.     text[SELECTED]      = @text_color
  174.     text[INSENSITIVE]   = "#696969"
  175.     
  176.      engine "pixmap"
  177.      {
  178.         image
  179.         {
  180.           function            = BOX
  181.           recolorable        = TRUE
  182.           file            = "Images/MenuMenubar/menuitem-dark.png"
  183.           border            = { 2, 2, 2, 2 }
  184.           stretch            = TRUE
  185.         }
  186.         image
  187.         {
  188.           function            = ARROW
  189.           recolorable        = TRUE
  190.           state            = NORMAL
  191.           overlay_file        = "Images/Arrows/arrow-right.png"
  192.           overlay_stretch        = FALSE
  193.           arrow_direction        = RIGHT
  194.         }
  195.         image
  196.         {
  197.           function            = ARROW
  198.           recolorable        = TRUE
  199.           state            = PRELIGHT
  200.           overlay_file        = "Images/Arrows/arrow-right-prelight.png"
  201.           overlay_stretch        = FALSE
  202.           arrow_direction        = RIGHT
  203.         }
  204.         image
  205.         {
  206.           function            = ARROW
  207.           recolorable        = TRUE
  208.           state            = INSENSITIVE
  209.           overlay_file        = "Images/Arrows/arrow-right-insens.png"
  210.           overlay_stretch        = FALSE
  211.           arrow_direction        = RIGHT
  212.         }
  213.       }
  214.     
  215. }
  216. widget "*.gnome-panel-main-menu.*"  style :highest "newwave-dark-panelmenu-item"
  217.  
  218. style "newwave-dark-panelmenu" = "newwave-dark-menu" 
  219. {
  220.         base[NORMAL] = "#F5F5F5"
  221.  
  222.      
  223.         text[NORMAL]        = @text_color
  224.     text[PRELIGHT]      = @text_color
  225.     text[ACTIVE]        = @text_color
  226.     text[SELECTED]      = @text_color
  227.     text[INSENSITIVE]   = "#696969"
  228.     
  229.     fg[NORMAL] = @bg_color
  230.     fg[PRELIGHT] = lighter(@bg_color)
  231.     fg[ACTIVE] = lighter(@bg_color)
  232.     fg[SELECTED] = lighter(@bg_color)
  233.     fg[INSENSITIVE] = darker("#7a7878")
  234.     
  235.     bg[NORMAL] = "#706E6E"
  236.     bg[PRELIGHT] = "#7a7878"
  237.     bg[ACTIVE] = "#7a7878"
  238.     bg[SELECTED] =  darker("#7a7878")
  239.     
  240.       
  241.      engine "pixmap"
  242.      {
  243.         image
  244.         {
  245.           function            = BOX
  246.           recolorable        = TRUE
  247.           file            = "Images/MenuMenubar/menu.png"
  248.           border            = { 1, 1, 1, 1 }
  249.           stretch            = TRUE
  250.         }
  251.       }
  252. }
  253. widget "*.gnome-panel-main-menu" style :highest "newwave-dark-panelmenu"
  254.  
  255.  
  256. # Other fixes
  257.  
  258.  
  259. style "newwave-combobox-text-color-workaround-dark"
  260. {
  261.     text[NORMAL]      = @fg_color
  262.     text[PRELIGHT]    = @fg_color
  263.     text[SELECTED]    = @selected_fg_color
  264.     text[ACTIVE]      = @fg_color
  265.     text[INSENSITIVE] = darker (@bg_color)
  266. }
  267. widget_class "*.<GtkComboBox>.<GtkCellView>" style :highest "newwave-combobox-text-color-workaround-dark"
  268.  
  269.  
  270. style "newwave-menuitem-text-is-fg-color-workaround-dark"
  271. {
  272.     text[NORMAL]        = "#ffffff"
  273.     text[PRELIGHT]      = @fg_color
  274.     text[SELECTED]      = lighter(@bg_color)
  275.     text[ACTIVE]        = lighter(@bg_color)
  276.     text[INSENSITIVE]   = darker("#7a7878")
  277.  
  278.     fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color)
  279.     fg[PRELIGHT] = @fg_color
  280.     fg[INSENSITIVE] = darker("#696969")
  281.     
  282.     bg[NORMAL] = "#696969"
  283.     bg[ACTIVE] =  shade(1.05,"#696969")
  284.     bg[SELECTED] = shade(1.05,"#696969")
  285.     bg[INSENSITIVE] = "#696969"
  286.     
  287.      engine "pixmap"
  288.      {
  289.         image
  290.         {
  291.           function            = BOX
  292.           recolorable        = TRUE
  293.           file            = "Images/MenuMenubar/menuitem-dark.png"
  294.           border            = { 2, 2, 2, 2 }
  295.           stretch            = TRUE
  296.         }
  297.       }
  298.     
  299. }
  300. widget "*.gtk-combobox-popup-menu.*"  style :highest "newwave-menuitem-text-is-fg-color-workaround-dark"
  301.  
  302. style "newwave-dark-popupmenu-workaround"
  303. {
  304.     text[NORMAL]        = @bg_color
  305.     text[PRELIGHT]      = lighter(@bg_color)
  306.     text[SELECTED]      = lighter(@bg_color)
  307.     text[ACTIVE]        = lighter(@bg_color)
  308.     text[INSENSITIVE]   = darker("#7a7878")
  309.  
  310.     fg[NORMAL] = @bg_color
  311.     fg[PRELIGHT] = lighter(@bg_color)
  312.     fg[ACTIVE] = lighter(@bg_color)
  313.     fg[SELECTED] = lighter(@bg_color)
  314.     fg[INSENSITIVE] = darker("#7a7878")
  315.     
  316.     bg[NORMAL] = "#7a7878"
  317.     bg[PRELIGHT] = "#7a7878"
  318.     bg[ACTIVE] = "#7a7878"
  319.     bg[SELECTED] =  darker("#7a7878")
  320.     
  321.      engine "pixmap"
  322.      {
  323.         image
  324.         {
  325.           function            = BOX
  326.           recolorable        = TRUE
  327.           file            = "Images/MenuMenubar/menu.png"
  328.           border            = { 1, 1, 1, 1 }
  329.           stretch            = TRUE
  330.         }
  331.       }
  332. }
  333.  
  334. widget "*.gtk-combobox-popup-menu"  style :highest  "newwave-dark-popupmenu-workaround"
  335.  
  336.  
  337.  
  338. widget_class "*<GtkMenu>.<GtkMenuItem>*"              style  "newwave-dark-menu-item"
  339. widget_class"*.GtkAccelMenuItem.*"                    style  "newwave-dark-menu-item"
  340. widget_class "*<GtkMenu>*"                      style  "newwave-dark-menu"
  341. class "GtkTearoffMenuItem"                style  "newwave-dark-menu-item"
  342. class "GtkMenuItem"                        style  "newwave-dark-menu-item"
  343. class "GtkImageMenuItem"                    style  "newwave-dark-menu-item"
  344. class "GtkItem"                            style  "newwave-dark-menu-item"
  345.  
  346. widget_class "*<GtkMenuBar>*"                   style "newwave-menubar-dark"
  347. class "GtkMenuBar"                    style "newwave-menubar-dark"
  348. widget_class "GtkMenuBar"                style "newwave-menubar-dark"
  349. class "*MenuBar*"                    style "newwave-menubar-dark"
  350. widget_class "*MenuBar*"                style "newwave-menubar-dark"
  351.  
  352.  
  353.